package thread;

import java.util.ArrayList;
import java.util.List;

public class TestDemo7 {

    public static void main(String[] args) {
    }

    public static void main1(String[] args) {
        long begin = System.currentTimeMillis();
        long a = 0;
        for (long i = 0; i < 10_0000_0000; i++) {
            a += i;
        }
        long b = 0;
        for (long i = 0; i < 10_0000_0000; i++) {
            b += i;
        }
        long end = System.currentTimeMillis();
        System.out.println(end - begin);
    }
}
